package com.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.reggie.dto.DishDto;
import com.reggie.entity.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {
    void saveDish(DishDto dishDto);

    Page<DishDto> pageDish(int page, int pageSize, String name);

    DishDto findById(Long id);

    void updateDish(DishDto dishDto);

    void deleteDish(List<Long> ids);

    List<DishDto> listDish(Long categoryId, String name, Integer status);
}
